package chp10;

public class Test2_Mobile {

    public static void main(String[] args) {
        Mobile m1 = new Mobile();
        m1.brand = "苹果";
        m1.name = "IPhone8";
        m1.price = 1888;

        Mobile m2 = new Mobile();
        m2.brand = "小米";
        m2.name = "小米Note";
        m2.price = 999;

        System.out.println(m1.brand+"\t"+m1.name+"\t"+m1.price);
        System.out.println(m2.brand+"\t"+m2.name+"\t"+m2.price);

        m1.show();
        m2.show();
    }
}
